package top.lyjwn.todo.aop.log.http.request;


import jakarta.servlet.ServletInputStream;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletRequestWrapper;
import org.springframework.web.util.ContentCachingRequestWrapper;
import org.springframework.web.util.ContentCachingResponseWrapper;

import java.io.ByteArrayOutputStream;
import java.io.IOException;

public class ServletRequestWrapper extends ContentCachingRequestWrapper {

    private String flagId;

    public ServletRequestWrapper(String flagId,HttpServletRequest request) {
        super(request);
        this.flagId = flagId;
    }


    public String getFlagId() {
        return flagId;
    }
}
